﻿using DevExpress.XtraGrid.Demos.util;
using DXApplicationTangche.DTO;
using mendian;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DXApplicationTangche.UC.成衣进销存.service
{
    public class 成衣进销存Service
    {
        public enum Enum成衣进销存 { 未知, MTS库存, MTO库存 };//成衣进销存
        /// <summary>
        /// 判断水洗是否MTO库存
        /// </summary>
        /// <param name="barcode"></param>
        /// <returns></returns>
        public static Boolean checkIsMTO(String barcode)
        {
            return
                FunctionHelper.JsonDeserialization<Boolean>(
                    RestCall.httpGetMethod(
                        URL.接口url + "/MTOOrder/sshirtTag/checkIsMTO?barcode=" + barcode
                        )
                    );
        }
    }
}
